﻿using FC.ERP.TMom.Domain;
using Microsoft.Data.SqlClient;
using Microsoft.EntityFrameworkCore;

namespace FC.ERP.TMom.Infrastructure
{
    public class ErpDbContext : DbContext
    {
        public ErpDbContext(DbContextOptions options) : base(options)
        {
        }
         

        public DbSet<WorkOrder> WorkOrders { get; set; }
        public DbSet<SyUser> SyUsers { get; set; }
        public DbSet<SysRole> SysRoles { get; set; }
        public DbSet<SysUserRole> SysUserRoles { get; set; }
        public DbSet<WorkShop> WorkShops { get; set; }
        public DbSet<Line> Lines { get; set; }
        public DbSet<Workstation> Workstations { get; set; }
        public DbSet<ProcessOperation> ProcessOperations { get; set; }
    }
}
